package club.framework.web.application.sys.role.mapper;


import club.framework.web.application.sys.role.entity.Role;
import club.framework.web.base.entity.BasePageReqEntity;

import java.util.List;


public interface RoleMapper {

    public Role getRoleById(int id);

    public int queryTotalCount(Role role);

    public int deleteRoleById(int id);

    public List<Role> queryPage(BasePageReqEntity<Role> basePageReqEntity);

    public int save(Role role);

    public int update(Role role);
}
